<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>editPurchasenote</title>
    <%@include file="../header.html" %>
      
<meta http-equiv="pragma" content="no-cache">  
<meta http-equiv="cache-control" content="no-cache">  
<meta http-equiv="expires" content="0">  
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  
<meta http-equiv="description" content="This is my page">  
  
</head>
<%String side_bar_page = basePath+"side_bar.jsp"; %>

<script type="text/javascript" src="./js/validator.js"></script>
<body >
    <div >
		<jsp:include page="../side_bar.jsp" flush="true"/> 
		<jsp:include page="../top_bar.jsp" flush="true"/> 

        </div>
<div  style="width:90%; float:right; margin:15px;"> 

<body>  
    <form action="my_purchasenote_doEdit_success_purchasenoteMain.action" method="post" onSubmit="return Validator.Validate(this,3)">  
        <table width="700" align="center">  
            <caption>编辑采购单信息</caption>  

			 
        	
        	<tr height="26px">  
                <td width="150px" align="right">经办人</td>  
                <td width="350px">               
               <!--      <input type="text"  name="purchasenote.buyerid" value="${purchasenote.buyerid}"/>--> 		  	
				  	<input type="text"  name="purchasenote.buyerid.userid" value="${purchasenote.buyerid.userid}" dataType="Require" msg="输入不能为空"/> 
                </td>  
            </tr>  
             
             <tr height="26px">  
                <td width="150px" align="right">部门</td>  
                <td width="350px">            
                    <input type="text"  name="purchasenote.buyerdeptid.deptid" value="${purchasenote.buyerdeptid.deptid}" dataType="Require" msg="输入不能为空"/> 
                </td>  
            </tr> 
            
              <tr height="26px">  
                <td width="150px" align="right">采购时间</td>  
                <td width="350px">     
                    <input type="text"  name="purchasenote.buytime" value="${purchasenote.buytime}" dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
               <tr height="26px">  
                <td width="150px" align="right">用途</td>  
                <td width="350px">             
                    <input type="text"  name="purchasenote.purpose"  value="${purchasenote.purpose}" dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
             <td hidden> 
             	<input type="text" name="purchasenote.purchasenoteid" value="${purchasenote.purchasenoteid}" readonly="readonly"/>
             	<input type="hidden" name="param" value="1"/>
             </td>
             
            <td hidden> <input type="text" name="purchasenote.state" value="${purchasenote.state}" /></td>
            
            
            <tr height="26px">  
                <td colspan="2" align="center">  
                    <input type="submit" value="Save"/>  
                    <input type="button" value="Back" onclick="window.history.back(-1)"/>  
                </td>  
            </tr>  
        </table>  
    </form>  
</body>  
</html>  